package com.lgw.commons.model.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lgw.commons.model.base.BaseModel;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
public class SeckillVouchers extends BaseModel {
    //代金券外键
    private Integer voucherId;
    //数量
    private int amount;
    //抢购开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date startTime;
    //抢购结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date endTime;
}
